<?php
/**
 * Created by PhpStorm.
 * User: wenjoying@126.com
 * Date: 2018/5/31
 * Time: 10:16
 */

namespace App\Models;

use Exception;

class TaskLog extends BaseModel
{
    const COL_ID = 'id';

    /**
     * @var string 表名
     */
    protected $table = 'task_logs';

    /**
     * @var string 主键
     */
    protected $primaryKey = 'id';

    public $timestamps = false;

    /**
     * 填充字段
     * @var array
     */
    protected $fillable = [
        'task_id',
        'user_id',
        'user_name',
        'process',
        'remark',
        'status',
        'created_at',
    ];

    /**
     * @desc 隐藏字段
     */
    protected $hidden = [];

    /**
     * @desc 动态增加字段
     */
    protected $appends = [];

    /**
     * @desc 查找字段
     */
    public $columns = [];

}